<template>
  <my-qrcode ref="qrcode" @ok="getResult" @err="geterror"></my-qrcode>
</template>

<script>
var _self
export default {
  methods: {
    getResult(result) {
      console.log('111', result)
    },
    geterror(e) {
      console.log('222', e)
    },
  },
}
</script>

<style></style>
